<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>钢琴培训</title>
  <link rel="stylesheet" href="style/style.css">
  <link href="https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://cdn.bootcss.com/popper.js/1.14.3/umd/popper.js"></script>
  <script src="https://cdn.bootcss.com/bootstrap/4.1.1/js/bootstrap.js"></script>
  <script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>

  <script src="js/banner.js" type="text/javascript"></script>
  <style>
    .iw_poi_title {
      color: #CC5522;
      font-size: 14px;
      font-weight: bold;
      overflow: hidden;
      padding-right: 13px;
      white-space: nowrap
    }

    .iw_poi_content {
      font: 12px arial, sans-serif;
      overflow: visible;
      padding-top: 4px;
      white-space: -moz-pre-wrap;
      word-wrap: break-word
    }
  </style>
</head>

<body>
  <!-- 顶部区域，包含了导航 -->
  <header>
      <div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 ">
          <img class="my-0 mr-md-auto ml-4" src="./images/logo.png" width="114px"></img>
          <ul class="nav nav-pills">
            <li class="nav-item">
              <a class="nav-link" href="index.html">首页</a>
            </li>
            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle " data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">菲乐动态</a>
              <div class="dropdown-menu">
                  <a class="dropdown-item" href="./news_list.html">菲乐新闻</a>
                  <a class="dropdown-item" href="./news_list.html?key=profile">活动信息</a>
                  <a class="dropdown-item" href="./news_list.html?key=music">音乐信息</a>
              </div>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="./teacher.html">菲乐名师</a>          
            </li>
            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">钢琴课</a>
              <div class="dropdown-menu">
                  <a class="dropdown-item" href="./class.html#class1">科目一</a>
                  <a class="dropdown-item" href="./class.html#class2">科目二</a>
                  <a class="dropdown-item" href="./class.html#class3">科目三</a>
              </div>
            </li>
            <!-- <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">世界名琴</a>
              <div class="dropdown-menu">
                <a class="dropdown-item" href="#">施坦威</a>
                <a class="dropdown-item" href="#">雅马哈</a>
                <a class="dropdown-item" href="#">卡哇伊</a>
              </div>
            </li> -->
            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle active-bl" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">关于我们</a>
              <div class="dropdown-menu">
                  <a class="dropdown-item" href="./about.html">菲乐介绍</a>
                  <a class="dropdown-item" href="./about.html?key=connect">联系我们</a>
              </div>
            </li>
            <li class="nav-item">
                <a class="nav-link border" href="../register/index.html" target="_blank">试听课预约</a>       
            </li>
          </ul>
        </div>
  </header>
  <main role="main">
    <div class="banner">
      <img src="images/about-banner.png" width="100%" alt="">
    </div>
    <div class="container mt-5">
      <div class="row">
        <div class="col-sm-3 about-nav">
          <div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
            <a class="nav-link active" id="home" data-toggle="pill" href="#v-pills-home" role="tab" aria-controls="v-pills-home"
              aria-selected="true">菲乐介绍</a>
            <a class="nav-link" id="connect" data-toggle="pill" href="#v-pills-profile" role="tab" aria-controls="v-pills-profile"
              aria-selected="false">联系我们
            </a>
          </div>
        </div>
        <div class="col-sm-9">
          <div class="tab-content" id="v-pills-tabContent">
            <div class="tab-pane fade show active" id="v-pills-home" role="tabpanel" aria-labelledby="v-pills-home-tab">
              <div class="feilejieshao">
                <h2 class="main-title mb-3">
                  菲乐介绍
                  <span>ABOUT US</span>
                </h2>
                <img width="100%" src="images/about.png" alt="Generic placeholder image">
                <p>长沙菲乐文化传播有限公司，简称菲乐文化，创立于2018年6月，公司以传播高雅艺术，弘扬传统文化为主旨，业务范围涵盖高端钢琴销售、高端钢琴培训、高品味艺术爱好培养等。</p>
                <p>菲乐钢琴，隶属长沙菲乐文化传播有限公司，是一家专注于高端钢琴销售以及高端钢琴培训的专业机构，目前，菲乐钢琴已与世界五大帝王琴之一的佩卓夫、贝希斯坦，以及雅马哈、卡哇伊、英昌、长江等高端钢琴品牌达成战略合作。公司运营团队从事钢琴培训行业15年，引进国外权威教学方法，结合自身教学经验研发开创出适合成人的钢琴教育方式，摆脱国内传统枯燥教学方法。菲乐钢琴全部采用独立琴房，环境优雅，一对一服务，尽显专业风范
                </p>
              </div>
            </div>
            <div class="tab-pane fade" id="v-pills-profile" role="tabpanel" aria-labelledby="v-pills-profile-tab">
              <div class="lianxiwomen">
                <h2 class="main-title mb-3">
                  联系我们
                  <span>CONNECT US</span>
                </h2>
                <div>
                  <p>地址：湖南省长沙市芙蓉区乐和城B1楼菲乐钢琴</p>
                  <p>邮编：410000</p>
                  <p>电话：400-8888-8888</p>
                  <p>传真：400-8888-8888</p>
                  <p>邮箱：feile@foxmail.com</p>
                </div>
                <div style="height:550px;border:#ccc solid 1px;" id="dituContent"></div>

              </div>
            </div>
          </div>

        </div>
      </div>
    </div>
    <footer class="about-foot mt-5">
        <div class="container">
  
          <div class="f-1 tc mb-3">
            <a href="./about.html">关于我们</a>
            <a href="#">加入我们</a>
            <a href="#">商务合作</a>
            <!-- <a href="http://www.ividea.cn/news/about?catid=9">法律声明</a> -->
          </div>
          <div class="tc mb-4">
            <span style="color:#ffffff;">
              <span style="color:#ffffff;">京ICP备12047727号-1 &nbsp;&nbsp; </span>
              <a href="#">
                <span style="color:#ffffff;">TEL: 400-8888-8888 &nbsp; &nbsp; </span>
              </a>
              <a href="#">
                <span style="color:#ffffff;">湖南省长沙市芙蓉区乐和城B1楼菲乐钢琴</span>
              </a>
            </span>
          </div>
          <div class="tc">
            <div class="erwm fix dib">
              <div class="img-s fl">
                <img src="./images/weixin.png" width="107px" alt="">
              </div>
              <div class="name fr">官方微信</div>
            </div>
            <div class="erwm fix ml-4 dib">
              <div class="img-s fl">
                <img src="./images/weixin.png" width="107px" alt="">
              </div>
              <div class="name fr">官方微博</div>
            </div>
          </div>
  
        </div>
      </footer>
      <div id="clan-slider">
          <ul>
              <!-- <li class="hidden-xs">
                  <a id="slider-chat" class="web-chat" href="javascript:;"></a>
                  <div class="clan-slider-tips">
                    在线咨询
                  </div>
                </li> -->
              <li class="hidden-xs">
                  <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=2404050895&amp;site=qq&amp;menu=yes" id="slider-qq"></a>
                  <div class="clan-slider-tips">
                      QQ在线咨询
                  </div>
              </li>
              <li class="hidden-xs">
                  <a id="slider-phone" href="javascript:void(0);"></a>
                  <div class="clan-slider-tips">
                      0731-88888888
                  </div>
              </li>
              <li class="hidden-xs">
                  <a id="slider-wechat" href="javascript:void(0);"></a>
                  <div class="clan-slider-tips-wechat">
                      <img src="./images/weixin.png">
                  </div>
              </li>
              <li>
                  <a id="slider-goTop" href="javascript:void(0);" style="display: block;"></a>
              </li>
              <!--
                    <li class="visible-xs-block">
                        <a id="slider-menu" href="javascript:void(0);"></a>
                    </li>
                    -->
          </ul>
      </div>
  </main>
  <script>
    //创建和初始化地图函数：
    function initMap() {
      createMap(); //创建地图
      setMapEvent(); //设置地图事件
      addMapControl(); //向地图添加控件
      addMarker(); //向地图中添加marker
    }

    //创建地图函数：
    function createMap() {
      var map = new BMap.Map("dituContent"); //在百度地图容器中创建一个地图
      var point = new BMap.Point(112.973311, 28.209162); //定义一个中心点坐标
      map.centerAndZoom(point, 17); //设定地图的中心点和坐标并将地图显示在地图容器中
      window.map = map; //将map变量存储在全局
    }

    //地图事件设置函数：
    function setMapEvent() {
      map.enableDragging(); //启用地图拖拽事件，默认启用(可不写)
      map.enableScrollWheelZoom(); //启用地图滚轮放大缩小
      map.enableDoubleClickZoom(); //启用鼠标双击放大，默认启用(可不写)
      map.enableKeyboard(); //启用键盘上下左右键移动地图
    }

    //地图控件添加函数：
    function addMapControl() {
      //向地图中添加缩放控件
      var ctrl_nav = new BMap.NavigationControl({
        anchor: BMAP_ANCHOR_TOP_LEFT,
        type: BMAP_NAVIGATION_CONTROL_LARGE
      });
      map.addControl(ctrl_nav);
      //向地图中添加比例尺控件
      var ctrl_sca = new BMap.ScaleControl({
        anchor: BMAP_ANCHOR_BOTTOM_LEFT
      });
      map.addControl(ctrl_sca);
    }

    //标注点数组
    var markerArr = [{
      title: "菲乐钢琴",
      content: "湖南省长沙市芙蓉区乐和城B1楼",
      point: "112.982867|28.205369",
      isOpen: 0,
      icon: {
        w: 21,
        h: 21,
        l: 0,
        t: 0,
        x: 6,
        lb: 5
      }
    }];
    //创建marker
    function addMarker() {
      for (var i = 0; i < markerArr.length; i++) {
        var json = markerArr[i];
        var p0 = json.point.split("|")[0];
        var p1 = json.point.split("|")[1];
        var point = new BMap.Point(p0, p1);
        var iconImg = createIcon(json.icon);
        var marker = new BMap.Marker(point, {
          icon: iconImg
        });
        var iw = createInfoWindow(i);
        var label = new BMap.Label(json.title, {
          "offset": new BMap.Size(json.icon.lb - json.icon.x + 10, -20)
        });
        marker.setLabel(label);
        map.addOverlay(marker);
        label.setStyle({
          borderColor: "#808080",
          color: "#333",
          cursor: "pointer"
        });

        (function () {
          var index = i;
          var _iw = createInfoWindow(i);
          var _marker = marker;
          _marker.addEventListener("click", function () {
            this.openInfoWindow(_iw);
          });
          _iw.addEventListener("open", function () {
            _marker.getLabel().hide();
          })
          _iw.addEventListener("close", function () {
            _marker.getLabel().show();
          })
          label.addEventListener("click", function () {
            _marker.openInfoWindow(_iw);
          })
          if (!!json.isOpen) {
            label.hide();
            _marker.openInfoWindow(_iw);
          }
        })()
      }
    }
    //创建InfoWindow
    function createInfoWindow(i) {
      var json = markerArr[i];
      var iw = new BMap.InfoWindow("<b class='iw_poi_title' title='" + json.title + "'>" + json.title +
        "</b><div class='iw_poi_content'>" + json.content + "</div>");
      return iw;
    }
    //创建一个Icon
    function createIcon(json) {
      var icon = new BMap.Icon("http://app.baidu.com/map/images/us_mk_icon.png", new BMap.Size(json.w, json.h), {
        imageOffset: new BMap.Size(-json.l, -json.t),
        infoWindowOffset: new BMap.Size(json.lb + 5, 1),
        offset: new BMap.Size(json.x, json.h)
      })
      return icon;
    }

    initMap(); //创建和初始化地图
  </script>
  <script>
    $(function () {
      var url = location.search
      if (url.split('=') && url.split('=')[0] == "?key" && url.split('=')[1]) {
        var parm = url.split('=')[1]
        $('#' + parm).tab('show')
      } else {
        $('#home').tab('show')
      }
    })
  </script>
</body>

</html>